package com.joysuch.wwyt.openapi.controllers.controllerV1.req;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: JamesZY
 * @date: 2021/9/1
 * @description:
 */
@Data
public class ApiV1BpDepartUpdateReq implements Serializable {

    private static final long serialVersionUID = 1778135704123940186L;
    @Length(max = 64, message = "组织唯一编码不能超64字符")
    @NotBlank(message = "组织唯一编码不能是空")
    private String uniqueId;
    @Length(max = 64, message = "组织名称不能超64字符")
    @NotBlank(message = "组织名称不能为空")
    private String name;
    private Integer type;
    private String parentUniqueId;
    private String code;

}
